

import bpy
import nodeitems_utils
from bpy.types import Operator, Menu





class C_节点子菜单_物体修改器(Menu):
	bl_idname = 'node.menu_object_mod'
	bl_label = "物体修改器"

	def draw(self, context):
		layout = self.layout
		#layout.operator('node.create_node_texture')



class C_节点子菜单_编辑(Menu):
	bl_idname = "node.menu_edit"
	bl_label = "物体编辑"
	
	def draw(self, context):
		layout = self.layout
		#layout.operator("node.global_node_scene_frame")
		#layout.menu("node.image_texture", icon='ALIGN_FLUSH')

		layout.operator("node.global_node_find_3x3x3_domain_guid")
		layout.operator('node.global_node_find_domain_guid_blocking_dir')
		
		layout.operator('node.global_node_intercept_object')
		layout.operator('node.global_node_obj_list_index')
		layout.operator('node.global_node_get_list_index_obj')

		layout.operator('node.global_node_set_object_show')
		layout.operator('node.global_node_set_object_keyframe_insert')


		layout.separator()
		layout.operator('node.global_node_coord_arrange_alignment')
		

		#layout.operator('node.global_node_set_object_location')
		layout.separator()
		layout.operator('node.global_node_obj_modifiers')
		layout.menu('node.enum_object_edit', icon='PROPERTIES')
		layout.menu('node.enum_object_modifiers', icon='MODIFIER')
		layout.menu('node.enum_material_edit', icon='MATERIAL')
		
		layout.operator('node.global_node_set_obj_subdivision_mod', icon='MOD_SUBSURF')
		

		layout.operator('node.global_node_obj_remove_modifier')
		
		
		layout.separator()
		layout.operator('node.global_node_object_trenform_keyframe_insert', icon='KEYTYPE_EXTREME_VEC')
		layout.operator('node.global_node_object_trenform_keyframe_clear', icon='HANDLETYPE_FREE_VEC')







classes = (
	C_节点子菜单_物体修改器,

	C_节点子菜单_编辑,
	
)

def register():
	for c in classes:
		bpy.utils.register_class(c)

def unregister():
	for c in classes:
		bpy.utils.unregister_class(c)

	



